package com.blog.common.domain.vo;

import com.blog.common.domain.annotation.Convert;
import lombok.*;

import java.time.LocalDateTime;

/**
 * <p>
 * 推荐文章
 * </p>
 *
 * @author Valerie
 * @date 2023/2/20
 **/
@Data
@EqualsAndHashCode
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ArticleRecommendVo {

    /**
     * id
     */
    private Long id;

    /**
     * 文章缩略图
     */
    @Convert
    private String articleCover;

    /**
     * 标题
     */
    private String articleTitle;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
